<local:DocumentBase x:Class="WPFExcelReport.SXNWB02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"  
                    xmlns:VAK="clr-namespace:WPFExcelReport;assembly=TVAKOLL"
                    xmlns:WB="clr-namespace:WPFExcelReport;assembly=TWBBST" 
                    xmlns:WD="clr-namespace:WPFExcelReport;assembly=TWBDAT" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"                    
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                     xmlns:me="clr-namespace:WPFExcelReport"
                    FontSize="12"
                    Name="TV"
                    Loaded="Window_Loaded"
>
    <local:DocumentBase.Resources>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </local:DocumentBase.Resources> 
    <Grid >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid   Grid.Column="0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="1*"></RowDefinition>
                <RowDefinition Height="1*"></RowDefinition>
            </Grid.RowDefinitions>
            <WD:TWBDAT  Grid.Row="0"   x:Name="cWB04"
                        IsCanNew="False"
                        IsCanDelete="False"
                        IsReload ="{Binding IsSaved, ElementName=cWB}"
                        ORDERNUM="{Binding KEY, ElementName=cWB02}"
                        />
            <WD:TPWB02  Grid.Row="1" Grid.Column="0"   x:Name="cWB02"
                         IsReload ="{Binding IsSaved, ElementName=cWB04}"
                        ORDERNUM ="{Binding KEY, ElementName=cWB04}"  
                        />
        </Grid>
        <Grid   Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="1*"></RowDefinition>
            </Grid.RowDefinitions>
            <WB:TWBBST  Name="cWB"   Grid.Row="0" Grid.Column="1" IsPage="True" Rows="50"
                            SKEY1="WBBART"
                           KEY1="WBBISTKLG"
                           TKEY1="总长度"
                            RWAUF="{Binding KEY,ElementName=cWB04}" 
                             />
            <StackPanel  Grid.Row="1">
                <WB:TWBCUT Grid.Row="1" STKNR="{Binding KEY,ElementName=cWB}"
                               IsSaved  ="{Binding IsReload, ElementName=cWB}"
                               />
            </StackPanel>
            <Grid Grid.Row="2">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="1*"></RowDefinition>
                </Grid.RowDefinitions>
                <WrapPanel Grid.Row="0">
                    <TextBlock   Grid.Column="1" Text="{Binding Source={Localization:Translate Word=勾选后，单击列表中的布卷进行移动准备工作}}"></TextBlock>
                    <CheckBox IsChecked="{Binding IsAuto,ElementName=cMov}"></CheckBox>
                </WrapPanel>
                <WB:TWBMOV Grid.Row="1" x:Name="cMov"
                       IsAuto="False"
                       IsSaved  ="{Binding IsReload, ElementName=cWB}"
                       STKNR="{Binding KEY,ElementName=cWB}"
            />
            </Grid>
        </Grid> 
    </Grid>
</local:DocumentBase>
    
